package com.java.multipledatasource.spring.item;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author hu
 * @version 1.0
 * @date 2020/12/24 0024 下午 2:18
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission {

    @JSONField(ordinal = 1)
    private String id;
    @JSONField(ordinal = 2)
    private String label;
    @JSONField(ordinal = 3)
    List<ChildItem> children;


}
